package com.smile.commons.action;


public class ActionUtils {

    public static InheritableThreadLocal<String> explorerThreadLocal = new InheritableThreadLocal<>();

    public static InheritableThreadLocal<String> ipThreadLocal = new InheritableThreadLocal<>();

    public static InheritableThreadLocal<String> systemThreadLocal = new InheritableThreadLocal<>();

    public static void setExplorerInfo(String explorer) {
        explorerThreadLocal.set(explorer);
    }

    public static String getExplorerInfo() {
        return explorerThreadLocal.get();
    }

    public static void setIpInfo(String ip) {
        ipThreadLocal.set(ip);
    }

    public static String getIpInfo() {
        return ipThreadLocal.get();
    }

    public static void setSystemInfo(String system) {
        systemThreadLocal.set(system);
    }

    public static String getSystemInfo() {
        return systemThreadLocal.get();
    }

}
